import React from 'react'
import ReactDOM from 'react-dom'
import { Provider } from 'react-redux'
import { BrowserRouter as Router } from 'react-router-dom'

import App from './App'
import store from './store'

// 挂载mock数据
import '@/mock/server'

// reset样式
import '@/assets/styles/reset'

ReactDOM.render(
    <Provider store = {store}>
        <Router>    
            <App></App>
        </Router>
    </Provider>,
    
    document.querySelector('#root')
)